Skip to content

feat(team): support wide logos & team description#40

Merged
ShugKnight24 merged 3 commits into
mainfrom
refactor/team
May 16, 2026
Merged

feat(team): support wide logos & team description#40
ShugKnight24 merged 3 commits into
mainfrom
refactor/team

Conversation

@shrinkray

Copy link
Copy Markdown
Contributor

I wanted to improve the appearance of the team area.

This allows for a large logo area, if available and gives the team an ability to call out their college and give some thoughts to the formed group or name. I set a 1000 char limit which should be more than enough.

  • add teamDescription portable text (GROQ, types, PortableText on team page)
  • render optional 600×300 logos at 10rem height via teamLogoUrl/hasTeamLogo
  • keep projects section inside narrow container with compact cards
  • extend cms-integration Playwright tests for team detail layout
  • document optional logo in Sanity studio; fix teamDescription validation

solves #39

- add teamDescription portable text (GROQ, types, PortableText on team page)
- render optional 600×300 logos at 10rem height via teamLogoUrl/hasTeamLogo
- keep projects section inside narrow container with compact cards
- extend cms-integration Playwright tests for team detail layout
- document optional logo in Sanity studio; fix teamDescription validation
@vercel

vercel Bot commented May 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hackmi26 Ready Ready Preview, Comment May 16, 2026 1:15pm

- fix failed test
- fix teamDescription validation to count characters, not blocks
- remove duplicate nested .team-description wrapper and empty class attr
- extract hasSanityImage generic guard to client.ts
- DRY portableTextPlainLength into shared studio utility
- replace unsupported max-width: stretch with 100%
- add _id path test coverage for team logo guard

@ShugKnight24 ShugKnight24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good PR

saw some things to address so I took care of them. heading offline for a bit, will follow up later

Aiming to test the admin more robustly prior to tomorrow. aiming to be at the event later tonight depending how day goes. if I get there, ill block off time to work on that

will keep you updated @shrinkray

@ShugKnight24 ShugKnight24 merged commit 474c598 into main May 16, 2026
6 checks passed
@ShugKnight24 ShugKnight24 deleted the refactor/team branch May 16, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants